package com.library.workbench.service;

import com.library.workbench.pojo.Book;

import java.util.List;
import java.util.Map;

public interface BookService {
    List<Book> queryBookByConditionForPage(Map<String,Object> map);

    List<Book> queryAllBooks();

    int queryRowsSum(Map<String,Object> map);

    int saveCreateBook(Book book);

    int deleteBookByBookId(String bookId);

    Book queryBookByBookId(String bookId);

    int updateBookByBookId(Book book);
}
